$def with (races)

<h1>Enter a title to start a new race</h1>
<h2>(or pull down to select an existing race)</h2>

<form action="/chooseRace" method="POST" enctype="multipart/form-data">
race: <input list="oldRaces" name="race">
  <datalist id="oldRaces">
    $for race in races:
      <option value="$race">
  </datalist>
  <input type="submit" value="set active race">
</form>